<!--
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
-->
<panel [options]="panelOpt" style="flex: 1 1 auto;" class="dashboard-panel">
	<tab [visibilityType]="'visibility'" *ngFor="let tab of tabs" [title]="tab.title" class="fullsize"
	[identifier]="tab.id" [canClose]="tab.canClose" [actions]="tab.actions" [iconClass]="tab.iconClass">
		<ng-template>
			<dashboard-webview-container *ngIf="getContentType(tab) === 'webview-container'" [tab]="tab">
			</dashboard-webview-container>
			<dashboard-widget-container *ngIf="getContentType(tab) === 'widgets-container'" [tab]="tab">
			</dashboard-widget-container>
			<dashboard-modelview-container *ngIf="getContentType(tab) === 'modelview-container'" [tab]="tab">
			</dashboard-modelview-container>
			<dashboard-grid-container *ngIf="getContentType(tab) === 'grid-container'" [tab]="tab">
			</dashboard-grid-container>
			<dashboard-error-container *ngIf="getContentType(tab) === 'error-container'" [tab]="tab">
			</dashboard-error-container>
		</ng-template>
	</tab>
</panel>
